package com.yuting.client;

import java.util.Scanner;

/**
 * @author cyt
 * @date 2020/6/28
 */
public class ClientScanner {
    private static Scanner sc = new Scanner(System.in);

    /**
     * 自定义扫描器
     * @return
     */
    public static Scanner getScanner(){
        return sc;
    }

    /**
     * 扫描器的关闭
     */
    public static void closeScanner(){
        sc.close();
    }
}
